// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * IssuOrder
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "nav_sell_order", autoResultMap = true)
@Schema(title = "订单管理订单标发")
public class IssuOrder implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 系统单号
   */
  @TableField(value = "`order_id`")
  @Schema(title = "系统单号")
  private String orderId;

  /**
   * 本地状态
   */
  @TableField(value = "`status`")
  @Schema(title = "本地状态")
  private String status;

  /**
   * 店铺
   */
  @TableField(value = "`shop_info`")
  @JoinField(ShopInfo.class)
  @Schema(title = "店铺")
  private Long shopInfo;

  /**
   * 站点
   */
  @TableField(value = "`site`")
  @JoinField(SysRegion.class)
  @Schema(title = "站点")
  private Long site;

  /**
   * 客选物流
   */
  @TableField(value = "`delivery_logistics`")
  @JoinField(NavLogisticsProviderView.class)
  @Schema(title = "客选物流")
  private Long deliveryLogistics;

  /**
   * 物流方式
   */
  @TableField(value = "`delivery_logistics_channel`")
  @JoinField(NavLogisticsChannelView.class)
  @Schema(title = "物流方式")
  private Long deliveryLogisticsChannel;

  /**
   * 标发单号
   */
  @TableField(value = "`delivery_issu_id`")
  @Schema(title = "标发单号")
  private String deliveryIssuId;

  /**
   * 线上状态
   */
  @TableField(value = "`online_status`")
  @Schema(title = "线上状态")
  private String onlineStatus;

  /**
   * 标发状态
   */
  @TableField(value = "`issu_status`")
  @Schema(title = "标发状态")
  private String issuStatus;

  /**
   * 标发状态内容
   */
  @TableField(value = "`issu_status_explain`")
  @Schema(title = "标发状态内容")
  private String issuStatusExplain;

  /**
   * 标发次数
   */
  @TableField(value = "`issu_number`")
  @Schema(title = "标发次数")
  private Integer issuNumber;

  /**
   * 标发时间
   */
  @TableField(value = "`issu_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "标发时间")
  private java.util.Date issuTime;

  /**
   * 运单号
   */
  @TableField(value = "`delivery_waybill_id`")
  @Schema(title = "运单号")
  private String deliveryWaybillId;

  /**
   * 跟踪号
   */
  @TableField(value = "`delivery_track_id`")
  @Schema(title = "跟踪号")
  private String deliveryTrackId;
}
